package com.hope.mychat.core.rule;


import com.hope.mychat.domain.vo.Message;
import com.hope.mychat.util.RedisUtil;
import org.springframework.beans.factory.annotation.Autowired;

import javax.websocket.EncodeException;
import javax.websocket.Session;
import java.io.IOException;

/**
 * @author ZWH
 */
public class Base {

    protected Session sessionTo;

    protected Session sessionForm;

    protected Message message;

    protected Session[] sessionsChatroom;

    @Autowired
    protected RedisUtil redisUtil;

    public Base(Message message) {
        this.message = message;
    }

}
